<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WcfGeebaServer.Users" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Member">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:User">
        <xs:sequence>
          <xs:element name="friends" nillable="true" type="tns:ArrayOfMember" />
          <xs:element name="isActive" type="xs:boolean" />
          <xs:element name="isBanned" type="xs:boolean" />
          <xs:element name="password" nillable="true" type="xs:string" />
          <xs:element name="threadCount" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Member" nillable="true" type="tns:Member" />
  <xs:complexType name="User">
    <xs:sequence>
      <xs:element name="userType" type="tns:UserType" />
      <xs:element name="username" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:simpleType name="UserType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Admin" />
      <xs:enumeration value="Moderator" />
      <xs:enumeration value="Member" />
      <xs:enumeration value="Guest" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="UserType" nillable="true" type="tns:UserType" />
  <xs:complexType name="ArrayOfMember">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Member" nillable="true" type="tns:Member" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMember" nillable="true" type="tns:ArrayOfMember" />
</xs:schema>